package com.ocom.payhandle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.card.EntityXfGoodsListProcess;
import com.ocom.common.vo.payconfig.kitchenprinter.GoodsListProcessDishesDto;
import com.ocom.common.entity.card.EntityXfRecordProcess;
import com.ocom.common.vo.devicehttp.MachMealDataVo;
import com.ocom.common.vo.pyhandle.OrderMealListVo;

import java.util.List;

public interface XfGoodsListProcessService extends IService<EntityXfGoodsListProcess> {

    public Boolean addXfGoodsListProcessList(Long companyId, List<EntityXfGoodsListProcess> list);

    List<EntityXfGoodsListProcess> getXfGoodsList(Long companyId, String orderNo);

    List<GoodsListProcessDishesDto> getGoodsListProcessOnDishes(Long comId, String orderNo);

    Boolean saveXfGoodsList(Long companyId, EntityXfRecordProcess entityXfRecordProcess, List<MachMealDataVo> mealData);

    Boolean saveXfGoodsListRecode(Long companyId,String orderNo);

    List<OrderMealListVo> getOrderListByMeal(Long companyId,
                                             Long pId,
                                             String mealDate,
                                             Integer mealNo);

    Boolean xfGoodsListRrfund(Long companyId,String orderNo);

    Boolean xfGoodsListRrfund(Long companyId,String orderNo,Integer dishId);


    List<EntityXfGoodsListProcess> getUserMeal(Long companyId,Integer pointId, Long pId,String mealDate, Integer mealNo) ;

    EntityXfGoodsListProcess getXfGoodsList(Long companyId, String orderNo,Integer id);
}
